#include <sys/types.h>

extern int domain_init();
extern int domain_finalize();

extern void start_service();
extern void stop_service(pid_t pid);

/**
 * client functions
 */
extern void connect_service(int priority);
extern void disconnect_service();

extern int blocking_request(char *argu, int *result);
extern key_t unblocking_request(char *argu, int *result);

extern int wait_for_results(key_t handle);